<template>
	<view class="content">
		<view class="tit_top">
			<view class="t1">请选择分类</view>
			<view class="t2">帮助我们更好的为您提供服务</view>
		</view>
		
		<view class="block_s">
			<view class="its" @click="gopage(1)">
				<view class="">
					<image src="../../static/i1.png" mode=""></image>
				</view>
				<view class="flex_r">
					<view class="t1">珍珠棉保温袋</view>
					<view class="rig">
						<uni-icons type="right" size="22" color="#4C5BFF"></uni-icons>
					</view>
				</view>
			</view>
			<view class="its" @click="gopage(2)">
				<view class="">
					<image src="../../static/i2.png" mode=""></image>
				</view>
				<view class="flex_r">
					<view class="t1">无纺布立体袋</view>
					<view class="rig">
						<uni-icons type="right" size="22" color="#4C5BFF"></uni-icons>
					</view>
				</view>
			</view>
			<view class="its" @click="gopage(3)">
				<view class="">
					<image src="../../static/i3.png" mode=""></image>
				</view>
				<view class="flex_r">
					<view class="t1">缝纫保温袋</view>
					<view class="rig">
						<uni-icons type="right" size="22" color="#4C5BFF"></uni-icons>
					</view>
				</view>
			</view>
		</view>
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
			}
		},
		onLoad() {

		},
		methods: {
			gopage(type){
				uni.navigateTo({
					url:`/pages/ipage/page${type}`
				})
			}
		}
	}
</script>

<style lang="scss">
	page {
		background: linear-gradient(180deg, #B3CBFF 0%, #FFFFFF 100%);
	}
	.content{
		padding: 0rpx 36rpx;
	}
	.tit_top{
		font-family: PingFang SC, PingFang SC;
		font-weight: bold;
		font-size: 48rpx;
		color: #000000;
		margin-top: 256rpx;
		.t2{
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			font-size: 28rpx;
			color: #000000;
			margin-top: 18rpx;
		}
	}
	.block_s{
		margin-top: 94rpx;
		.its{
			width:100%;
			background: #FFFFFF;
			border-radius: 20rpx 20rpx 20rpx 20rpx;
			padding: 42rpx 46rpx 54rpx 56rpx;
			box-sizing: border-box;
			display: flex;
			align-items: center;
			margin-bottom: 30rpx;
			image{
				width: 156rpx;
				height: 124rpx;
			}
			.flex_r{
				flex: 1;
				margin-left: 30rpx;
				display: flex;
				justify-content: space-between;
				margin-top: 30rpx;
				.t1{
					ont-family: PingFang SC, PingFang SC;
					font-weight: bold;
					font-size: 36rpx;
					color: #1D2541;
				}
				.rig{
					width: 68rpx;
					height: 68rpx;
					background: #F4F8FF;
					display: flex;
					justify-content: center;
					align-items: center;
					border-radius: 34rpx;
				}
			}
		}
		.its:active{
			background: linear-gradient( 90deg, #C9DAFF 0%, #3F7CFF 100%);
		}
	}
</style>
